# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools
fastlane_version "1.109.0"

# This value helps us track success metrics for Fastfiles
# we automatically generate. Feel free to remove this line
# once you get things running smoothly!
generated_fastfile_id "210bed9d-a839-453c-8038-b28dd9a53932"

default_platform :ios

# Fastfile actions accept additional configuration, but
# don't worry, fastlane will prompt you for required
# info which you can add here later
lane :beta do
  # match(type: "appstore")
  gym(scheme: "Freetime", configuration: "TestFlight")

  # upload to Testflight
  pilot(skip_waiting_for_build_processing: true)
end

lane :appstore do
  gym(scheme: "Freetime")
  appstore(skip_screenshots: true)
end
